package com.zsh.wx_account1.entity;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 封装text结构的数据
 * @Author ZhaoShuHao
 * @Date 2023/8/22 14:50
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@XStreamAlias("xml")//修改类,字段,属性别名
public class TextMessage {
    @XStreamAlias("ToUserName")
    private String toUserName;
    @XStreamAlias("FromUserName")
    private String fromUserName;
    @XStreamAlias("CreateTime")
    private long createTime;
    @XStreamAlias("MsgType")
    private String msgType;
    @XStreamAlias("Content")
    private String content;
}
